{include file='/www/wwwroot/enkenuo.jijinweb.net/app/data/templateFile/about.html'/}


<div class="DetailsBanner">
    <div class="DetailsBanner_img"><img src="{$thumb}"/></div>
    <div class="DetailsBanner_txt">
        <div class="DetailsBanner_txt_dd wow fadeInUp" data-wow-delay="0.1s">{$name}</div>
        <div class="DetailsBanner_txt_dt wow fadeInUp" data-wow-delay="0.2s">
            <?php echo navFun();?>
        </div>
    </div>
</div>


<div class="DetailsNav wow fadeInUp" data-wow-delay="0.1s">
    <?php $var_name_fKZT6o48G2PsCqRA=catFun(array (
),array (
  0 => 
  array (
    0 => 'pid',
    1 => '=',
    2 => $pid,
  ),
  1 => 
  array (
    0 => 'status',
    1 => 'in',
    2 => '1,0',
  ),
));foreach($var_name_fKZT6o48G2PsCqRA["data"] as $key=>$v){  ?>
    <a href="{$v.gourl == '' ? $v.caturl : $v.gourl }" class="DetailsNav_list {if $catid == $v.catid}on{/if}">{$v.name}</a>
    <?php } ?>
</div>


<div class="pc_all Honor DHonor Product Contact" id="Contact1">
    <div class="pc_all_content">
        <div class="Contact_top">
            <div class="DHonor_title">
                <div class="DHonor_title_left">
                    <!--                    <div class="title_left_dd wow fadeInUp" data-wow-delay="0.1s">Contact information</div>-->
                    <div class="title_left_dt wow fadeInUp" data-wow-delay="0.2s">Contact Information</div>
                </div>
            </div>
            <div class="Contact_top_right">
                <div class="top_right_l">
                    <div class="right_l_dd wow fadeInUp" data-wow-delay="0.1s"><img src="/static/index/skin/images/bn98.png"/>General service hotline</div>
                    <div class="right_l_dt wow fadeInUp" data-wow-delay="0.2s">400-777-2900</div>
                </div>
                <div class="top_right_r">
                    <div class="right_r_list wow fadeInUp" data-wow-delay="0.1s">
                        <div class="r_list_dd"><img src="/static/index/skin/images/bg7.jpg"/></div>
                        <div class="r_list_dt">WeChat official account</div>
                    </div>
                    <div class="right_r_list wow fadeInUp" data-wow-delay="0.2s">
                        <div class="r_list_dd"><img src="/static/index/skin/images/bg8.jpg"/></div>
                        <div class="r_list_dt">Tiktok</div>
                    </div>
                </div>
            </div>
        </div>
        {php}
        $data = Db::name('cms_contract')->select();
        {/php}
        <div class="Contact_bottom">
            <div class="Contact_bottom_title wow fadeInUp" data-wow-delay="0.1s">Comax Group Corporation Limited</div>
            <div class="Contact_bottom_txt">
                {foreach $data as $v}
                <div class="bottom_txt_list">
                    <div class="txt_list_dd wow fadeInUp" data-wow-delay="0.1s">{$v.title}</div>
                    <div class="txt_list_dt wow fadeInUp" data-wow-delay="0.2s">
                        <div class="list_dt_li"><span><img src="/static/index/skin/images/bn99.png"/></span>{$v.tel}
                        </div>
                        <div class="list_dt_li"><span><img src="/static/index/skin/images/bn100.png"/></span>{$v.fox}
                        </div>
                        <div class="list_dt_li"><span><img src="/static/index/skin/images/bn101.png"/></span>{$v.address}
                        </div>
                    </div>
                </div>
                {/foreach}
                <!--                <div class="bottom_txt_list">-->
                <!--                    <div class="txt_list_dd wow fadeInUp" data-wow-delay="0.1s">研发中心</div>-->
                <!--                    <div class="txt_list_dt wow fadeInUp" data-wow-delay="0.2s">-->
                <!--                        <div class="list_dt_li"><span><img src="/static/index/skin/images/bn99.png"/></span>+86-513-82777000-->
                <!--                        </div>-->
                <!--                        <div class="list_dt_li"><span><img src="/static/index/skin/images/bn100.png"/></span>+86-513-81265000-->
                <!--                        </div>-->
                <!--                        <div class="list_dt_li"><span><img src="/static/index/skin/images/bn101.png"/></span>江苏省海门市海门港新区发展大道1189号-->
                <!--                        </div>-->
                <!--                    </div>-->
                <!--                </div>-->
            </div>
        </div>
    </div>
</div>


<div class="pc_all Honor DHonor Product Contact2" id="Contact2">
    <div class="pc_all_content">
        <div class="DHonor_title">
            <div class="DHonor_title_left">
                <!--                <div class="title_left_dd wow fadeInUp" data-wow-delay="0.1s">feedback</div>-->
                <div class="title_left_dt wow fadeInUp" data-wow-delay="0.2s">Feedback</div>
                <div class="title_left_p wow fadeInUp" data-wow-delay="0.3s">If you have any questions, please leave your comment below. We will reply you as soon as possible!</div>
            </div>
        </div>
        <form action="/index/Feedback/add.html" method="post" class="Contact2_content" onsubmit="return save_form(this,function(){alert('Success！');history.go(0)})">
            <input type="hidden" name="catid" value="5">
            <input type="text" class=" wow fadeInUp" data-wow-delay="0.1s" placeholder="Name" name="name"/>
            <input type="text" class=" wow fadeInUp" name="title" data-wow-delay="0.2s" placeholder="Company Name" name="company"/>
            <input type="tel" class=" wow fadeInUp" data-wow-delay="0.3s" placeholder="Phone" name="mobile"/>
            <input type="email" class=" wow fadeInUp" data-wow-delay="0.4s" placeholder="Email" name="email"/>
            <textarea placeholder="Please enter your message content" class=" wow fadeInUp" data-wow-delay="0.1s" name="content"></textarea>
            <input type="submit" value="Submit" class=" wow fadeInUp" data-wow-delay="0.2s"/>
        </form>
    </div>
</div>


<div class="Contact_map">
    <div class="Contact_map_list">
        <div class="map_list_title">Comax's Headquarters</div>
        <div class="map_list_txt" id="Contact3"></div>
    </div>
    <div class="Contact_map_list">
        <div class="map_list_title">Comax's Production Base</div>
        <div class="map_list_txt" id="Contact4"></div>
    </div>
</div>


{include file='/www/wwwroot/enkenuo.jijinweb.net/app/data/templateFile/footer.html'/}


<script src="https://api.map.baidu.com/api?v=2.0&ak=iD2gwtGfo1p98lPenidUyx8h&s=1"></script>
<script type="text/javascript">
    //创建和初始化地图函数：
    function initMap(){
        createMap();//创建地图
        setMapEvent();//设置地图事件
        addMapControl();//向地图添加控件
        addMarker();//向地图中添加marker
    }

    //创建地图函数：
    function createMap(){
        var map = new BMap.Map("Contact4");//在百度地图容器中创建一个地图
        var point = new BMap.Point(121.448054,32.112226);//定义一个中心点坐标
        map.centerAndZoom(point,18);//设定地图的中心点和坐标并将地图显示在地图容器中
        window.map = map;//将map变量存储在全局
    }

    //地图事件设置函数：
    function setMapEvent(){
        map.enableDragging();//启用地图拖拽事件，默认启用(可不写)
        map.enableDoubleClickZoom();//启用鼠标双击放大，默认启用(可不写)
        map.enableKeyboard();//启用键盘上下左右键移动地图
    }

    //地图控件添加函数：
    function addMapControl(){
        //向地图中添加缩放控件
        var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});
        map.addControl(ctrl_nav);
        //向地图中添加缩略图控件
        var ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:1});
        map.addControl(ctrl_ove);
        //向地图中添加比例尺控件
        var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
        map.addControl(ctrl_sca);
    }

    //标注点数组
    var markerArr = [{title:"Comax's Production Base",content:"Address：1189 Fazhan Avenue, Haimengang New District, Haimen, Jiangsu, China",point:"121.447214|32.11222",isOpen:1,icon:{w:23,h:25,l:0,t:21,x:9,lb:12}}
    ];
    //创建marker
    function addMarker(){
        for(var i=0;i<markerArr.length;i++){
            var json = markerArr[i];
            var p0 = json.point.split("|")[0];
            var p1 = json.point.split("|")[1];
            var point = new BMap.Point(p0,p1);
            var iconImg = createIcon(json.icon);
            var marker = new BMap.Marker(point,{icon:iconImg});
            var iw = createInfoWindow(i);
            var label = new BMap.Label(json.title,{"offset":new BMap.Size(json.icon.lb-json.icon.x+10,-20)});
            marker.setLabel(label);
            map.addOverlay(marker);
            label.setStyle({
                borderColor:"#808080",
                color:"#333",
                cursor:"pointer"
            });

            (function(){
                var index = i;
                var _iw = createInfoWindow(i);
                var _marker = marker;
                _marker.addEventListener("click",function(){
                    this.openInfoWindow(_iw);
                });
                _iw.addEventListener("open",function(){
                    _marker.getLabel().hide();
                })
                _iw.addEventListener("close",function(){
                    _marker.getLabel().show();
                })
                label.addEventListener("click",function(){
                    _marker.openInfoWindow(_iw);
                })
                if(!!json.isOpen){
                    label.hide();
                    _marker.openInfoWindow(_iw);
                }
            })()
        }
    }
    //创建InfoWindow
    function createInfoWindow(i){
        var json = markerArr[i];
        var iw = new BMap.InfoWindow("<b class='iw_poi_title' title='" + json.title + "'>" + json.title + "</b><div class='iw_poi_content'>"+json.content+"</div>");
        return iw;
    }
    //创建一个Icon
    function createIcon(json){
        var icon = new BMap.Icon("http://map.baidu.com/image/us_cursor.gif", new BMap.Size(json.w,json.h),{imageOffset: new BMap.Size(-json.l,-json.t),infoWindowOffset:new BMap.Size(json.lb+5,1),offset:new BMap.Size(json.x,json.h)})
        return icon;
    }

    initMap();//创建和初始化地图
</script>
<script type="text/javascript">
    //创建和初始化地图函数：
    function initMap(){
        createMap();//创建地图
        setMapEvent();//设置地图事件
        addMapControl();//向地图添加控件
        addMarker();//向地图中添加marker
    }

    //创建地图函数：
    function createMap(){
        var map = new BMap.Map("Contact3");//在百度地图容器中创建一个地图
        var point = new BMap.Point(121.632027,31.21746);//定义一个中心点坐标
        map.centerAndZoom(point,18);//设定地图的中心点和坐标并将地图显示在地图容器中
        window.map = map;//将map变量存储在全局
    }

    //地图事件设置函数：
    function setMapEvent(){
        map.enableDragging();//启用地图拖拽事件，默认启用(可不写)
        map.enableDoubleClickZoom();//启用鼠标双击放大，默认启用(可不写)
        map.enableKeyboard();//启用键盘上下左右键移动地图
    }

    //地图控件添加函数：
    function addMapControl(){
        //向地图中添加缩放控件
        var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});
        map.addControl(ctrl_nav);
        //向地图中添加缩略图控件
        var ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:1});
        map.addControl(ctrl_ove);
        //向地图中添加比例尺控件
        var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
        map.addControl(ctrl_sca);
    }

    //标注点数组
    var markerArr = [{title:"Comax's Headquarters",content:"Address：Room 916, building 1, Shihe center, Lane 2277, Zuchongzhi Road, Shanghai",point:"121.632948|31.2177",isOpen:1,icon:{w:23,h:25,l:0,t:21,x:9,lb:12}}
    ];
    //创建marker
    function addMarker(){
        for(var i=0;i<markerArr.length;i++){
            var json = markerArr[i];
            var p0 = json.point.split("|")[0];
            var p1 = json.point.split("|")[1];
            var point = new BMap.Point(p0,p1);
            var iconImg = createIcon(json.icon);
            var marker = new BMap.Marker(point,{icon:iconImg});
            var iw = createInfoWindow(i);
            var label = new BMap.Label(json.title,{"offset":new BMap.Size(json.icon.lb-json.icon.x+10,-20)});
            marker.setLabel(label);
            map.addOverlay(marker);
            label.setStyle({
                borderColor:"#808080",
                color:"#333",
                cursor:"pointer"
            });

            (function(){
                var index = i;
                var _iw = createInfoWindow(i);
                var _marker = marker;
                _marker.addEventListener("click",function(){
                    this.openInfoWindow(_iw);
                });
                _iw.addEventListener("open",function(){
                    _marker.getLabel().hide();
                })
                _iw.addEventListener("close",function(){
                    _marker.getLabel().show();
                })
                label.addEventListener("click",function(){
                    _marker.openInfoWindow(_iw);
                })
                if(!!json.isOpen){
                    label.hide();
                    _marker.openInfoWindow(_iw);
                }
            })()
        }
    }
    //创建InfoWindow
    function createInfoWindow(i){
        var json = markerArr[i];
        var iw = new BMap.InfoWindow("<b class='iw_poi_title' title='" + json.title + "'>" + json.title + "</b><div class='iw_poi_content'>"+json.content+"</div>");
        return iw;
    }
    //创建一个Icon
    function createIcon(json){
        var icon = new BMap.Icon("http://map.baidu.com/image/us_cursor.gif", new BMap.Size(json.w,json.h),{imageOffset: new BMap.Size(-json.l,-json.t),infoWindowOffset:new BMap.Size(json.lb+5,1),offset:new BMap.Size(json.x,json.h)})
        return icon;
    }

    initMap();//创建和初始化地图
</script>
<script type="text/javascript">
    (function(){
        var tab_tit  = document.getElementById('think_page_trace_tab_tit').getElementsByTagName('span');
        var tab_cont = document.getElementById('think_page_trace_tab_cont').getElementsByTagName('div');
        var open     = document.getElementById('think_page_trace_open');
        var close    = document.getElementById('think_page_trace_close').children[0];
        var trace    = document.getElementById('think_page_trace_tab');
        var cookie   = document.cookie.match(/thinkphp_show_page_trace=(\d\|\d)/);
        var history  = (cookie && typeof cookie[1] != 'undefined' && cookie[1].split('|')) || [0,0];
        open.onclick = function(){
            trace.style.display = 'block';
            this.style.display = 'none';
            close.parentNode.style.display = 'block';
            history[0] = 1;
            document.cookie = 'thinkphp_show_page_trace='+history.join('|')
        }
        close.onclick = function(){
            trace.style.display = 'none';
            this.parentNode.style.display = 'none';
            open.style.display = 'block';
            history[0] = 0;
            document.cookie = 'thinkphp_show_page_trace='+history.join('|')
        }
        for(var i = 0; i < tab_tit.length; i++){
            tab_tit[i].onclick = (function(i){
                return function(){
                    for(var j = 0; j < tab_cont.length; j++){
                        tab_cont[j].style.display = 'none';
                        tab_tit[j].style.color = '#999';
                    }
                    tab_cont[i].style.display = 'block';
                    tab_tit[i].style.color = '#000';
                    history[1] = i;
                    document.cookie = 'thinkphp_show_page_trace='+history.join('|')
                }
            })(i)
        }
        parseInt(history[0]) && open.click();
        tab_tit[history[1]].click();
    })();
</script>
</body>
</html>
<!--公共必要的JS-->
<script src="/static/admin/layui/layui.js"></script>
<script src="/static/js/globals.js"></script>
<script src="/static/index/js/feedback.js"></script>